//
//  RadioListModel.m
//  瓜子电台
//
//  Created by Jackson on 16/8/10.
//  Copyright © 2016年 YueZhang. All rights reserved.
//

#import "RadioListModel.h"

@implementation RadioListModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

+ (NSMutableArray *)modelConfigureWithDic:(NSDictionary *)jsonDic {
    NSMutableArray *array = [NSMutableArray array];
    NSDictionary *dic = jsonDic[@"data"];
    NSArray *arr = dic[@"data"];
    for (NSDictionary *dic in arr) {
        RadioListModel *model = [[RadioListModel alloc]init];
        model.idd = dic[@"id"];
        model.playUrl1 = dic[@"playUrl"][@"aac24"];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
    }
    return array;}

@end
